﻿using System;
using Newtonsoft.Json;
using Schema;

namespace ConsoleSchema
{
    class Program
    {
        static void Main(string[] args)
        {
            if (args == null) throw new ArgumentNullException("args");

            //Console.WriteLine("Thing: json");
            //Console.WriteLine(JsonConvert.SerializeObject(Model.Thing));
            //Console.WriteLine();
            //Console.WriteLine();
            Console.WriteLine("Thing: supported itemprop");
            Console.WriteLine(JsonConvert.SerializeObject(Model.Thing.Properties));
            Console.WriteLine();
            Console.WriteLine();
            Console.WriteLine("GetSupportedThingsNames");
            Console.WriteLine(JsonConvert.SerializeObject(Model.GetSupportedThingsNames()));
            Console.WriteLine();
            Console.WriteLine("GetSupportedProperties(Thing)");
            Console.WriteLine(JsonConvert.SerializeObject(Model.GetSupportedProperties(Model.Thing)));
        }
    }
}
